import http from '../utils/http';
import httpNewWay from "@/api/httpNewWay";
const base = "/api/isv/";

export default {
  // 接收转赠票
  receive(params) {
    return http.post('ticketPurchaseMob/receiveTicket', {
      ...params
    });
  },
  // 转赠票
  async givingTicket(params) {
    return await httpNewWay.post(`${base}verification/givingTicket`, params);
  },



  // 根据激活码获取项目参数
  getProParams(params) {
    return http.get('ticketPurchaseMob/queryActivityIdAndTicketTypeIdByInviteCode?inviteCode=' + params);
  },

};
